//
//  BrandCollectionViewCell.m
//  App-MyFairldy
//
//  Created by dlios on 15-5-23.
//  Copyright (c) 2015年 客官大大. All rights reserved.
//

#import "BrandCollectionViewCell.h"

@implementation BrandCollectionViewCell

- (instancetype) initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatMyView];
    }
    return self;
}

- (void)creatMyView
{
    self.iconImage = [[UIImageView alloc] init];
    [self.contentView addSubview:self.iconImage];
    
    self.nameLabel = [[UILabel alloc] init];
    [self.contentView addSubview:self.nameLabel];
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.iconImage.frame = CGRectMake(15, 10, 70, 60);
    
    self.nameLabel.frame = CGRectMake(15, 75, 70, 20);
    self.nameLabel.backgroundColor = [UIColor clearColor];
}
@end
